//
//  Student.h
//  08-类的扩展 Categroy
//
//  Created by 韩旭 on 16/7/13.
//  Copyright © 2016年 基础. All rights reserved.
//

#import <Foundation/Foundation.h>
//1.规定了协议内容
@protocol StudentDelegate <NSObject>
//必须实现的方法（默认）
//购买mac
@required
- (NSString *)buyMacBook:(NSString *)money;

@optional
//开发票
- (void)drawBill;
@end
@interface Student : NSObject
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *age;
//委托方的写法
@property (nonatomic, weak) id<StudentDelegate> delegate;

- (void)seeWeChat;


@end
